package com.woniuxy.commons.exception;

import com.woniuxy.commons.exception.code.StoreExceptionCode;
import com.woniuxy.commons.exception.code.UserExceptionCode;

public class StoreException extends WoniuxyException {
    public StoreException(Integer code, String message) {
        super(code, message);
    }

    public StoreException(StoreExceptionCode storeExceptionCode){
        super(storeExceptionCode.getCode(),storeExceptionCode.getMessage());
    }
}
